package com.alibaba.middleware.hsf.guide.server.service;

import com.alibaba.middleware.hsf.guide.api.service.HelloWorldService;

public class HelloWorldServiceImpl implements HelloWorldService {

    @Override
    public String sayHi(String name) {
        if (name == null || name.length() == 0) {
            return null;
        }
        return "Hi, " + name + "! Welcome to the HSF world.";
    }
}
